//
//  BusiNetworkManager.h
//  NetworkDemo
//
//  Created by 万孟超 on 2022/1/10.
//

#import <Foundation/Foundation.h>
#import "NetworkEngine.h"
#import "NetworkBaseRequest.h"
#import "NetworkManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface BusiNetworkManager : NSObject

/// 通用网络请求入口
/// @param target 代理
/// @param request 请求体
/// @param completeBlock 成功回调
/// @param errorBlock 失败回调
+ (NetworkEngine *)queryNetworkWithEngineTarget:(NSObject * _Nullable)target
                                        request:(NetworkBaseRequest *)request
                                  completeBlock:(nullable CompletionBlock)completeBlock
                                     errorBlock:(nullable ErrorBlock)errorBlock;

@end

NS_ASSUME_NONNULL_END
